home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 1 / 001.d81 / 1541 tutorial 1 < prev    next >
Text File  |  2022-08-26  |  5KB  |  270 lines

  1.     Origin of the 1541 Disk Drive
  2.  
  3.     ====== == === ==== ==== =====
  4.  
  5.  
  6.  
  7.           by Joel Ellis Rea
  8.  
  9.  
  10.  
  11.    First there was the Commodore 2001
  12.  
  13. Personal Electronic Transactor (PET).
  14.  
  15. It was one of the first personal com-
  16.  
  17. puters on the market.  It had a whop-
  18.  
  19. ping 4K of RAM, an 8K BASIC in ROM,
  20.  
  21. and a Kernal to control input/output
  22.  
  23. and other system operations.  It used
  24.  
  25. Commodore BASIC Version 1.  There were
  26.  
  27. no disk drives then, but provisions
  28.  
  29. were made in the form of an IEEE-488
  30.  
  31. General Purpose Interface Bus.  It
  32.  
  33. also had the funniest little keyboard
  34.  
  35. you ever saw!
  36.  
  37.  
  38.  
  39.    Commodore then invented the 2040
  40.  
  41. Dual Floppy Disk Drive.  It was an in-
  42.  
  43. dustry first.  Instead of requiring
  44.  
  45. the main computer to control every ti-
  46.  
  47. ny detail of disk drive operation, not
  48.  
  49. to mention loading a (large) Disk Op-
  50.  
  51. erating System (DOS) into the compu-
  52.  
  53. ter's RAM in order to use the drive;
  54.  
  55. it was an intelligent drive, with its
  56.  
  57. own computer system inside, and its
  58.  
  59. own DOS in ROM!  By simply PRINTing
  60.  
  61. commands to its command channel, BASIC
  62.  
  63. users could SCRATCH, RENAME, and COPY
  64.  
  65. files, and DUPLICATE an entire disk
  66.  
  67. without any further help from the com-
  68.  
  69. puter.  Only problem was, they could
  70.  
  71. not SAVE or LOAD programs, or use data
  72.  
  73. files.
  74.  
  75.  
  76.  
  77.    The problem was in BASIC V1.  It
  78.  
  79. didn't know about the timing involved
  80.  
  81. with actually transferring data back
  82.  
  83. and forth between the computer's RAM
  84.  
  85. and the disk drive's computer.  So,
  86.  
  87. Commodore created Upgrade BASIC (now
  88.  
  89. known as BASIC V2.), and put it into
  90.  
  91. a new PET, called the 2008.  It had
  92.  
  93. 8K of RAM, a REAL keyboard (unlike o-
  94.  
  95. ther companies, Commodore NEVER tried
  96.  
  97. a rinky-dink keyboard again!), and it
  98.  
  99. could use the disk drive!
  100.  
  101.  
  102.  
  103.    But the 2040 drive had its faults
  104.  
  105. as well.  It couldn't handle random-
  106.  
  107. access files (one of the most impor-
  108.  
  109. tant advantages of a disk drive over a
  110.  
  111. tape drive!) without a LOT of effort
  112.  
  113. on the user's part, it couldn't trap
  114.  
  115. errors correctly, it required the user
  116.  
  117. to: OPEN15,8,15,"I":CLOSE15 every time
  118.  
  119. the user wanted to change disks, and
  120.  
  121. it couldn't seem to center the disks
  122.  
  123. properly.
  124.  
  125.  
  126.  
  127.    So about the time Commodore came
  128.  
  129. out with their 3008 PET computer (with
  130.  
  131. BASIC V3, with very minor differences
  132.  
  133. from V2.), they came out with the 3040
  134.  
  135. Dual Disk Drive.  This had DOS V1.2 in
  136.  
  137. it, which corrected the problems with
  138.  
  139. error trapping.  But they didn't fix
  140.  
  141. much else.  Also, people were getting
  142.  
  143. tired of having to type OPEN15,8,15,
  144.  
  145. "R0:newfilename=oldfilename":CLOSE15
  146.  
  147. to rename a file, when their Apple-
  148.  
  149. owning buddies could do the same with
  150.  
  151. RENAME oldfilename,newfilename.
  152.  
  153.  
  154.  
  155.    Almost immediately therafter, the
  156.  
  157. Commodore 4016 PET came out.  It had
  158.  
  159. 16K for starters (expandable to 32K),
  160.  
  161. and BASIC V4.  This version of BASIC
  162.  
  163. had nice disk commands like CATALOG,
  164.  
  165. SCRATCH, DLOAD, DSAVE, BACKUP, COPY,
  166.  
  167. etc.  These commands simply translated
  168.  
  169. themselves into the old commands the
  170.  
  171. disk drive understood.  So COPY D0,
  172.  
  173. "oldfile" TO D1,"newfile" got sent to
  174.  
  175. the disk as the good old "C1:newfile=
  176.  
  177. 0:oldfile" stuff.
  178.  
  179.  
  180.  
  181.    Along with the PET 4016 came the
  182.  
  183. 4040 Disk Drive.  It had it all!  Be-
  184.  
  185. sided fixing the hardware problems,
  186.  
  187. it had DOS V2.1, which supported RELA-
  188.  
  189. TIVE FILES!  (What other people called
  190.  
  191. Random files, but thay used a differ-
  192.  
  193. ent terminology so as not to confuse
  194.  
  195. the old disk drive owners who were do-
  196.  
  197. ing it the H-A-R-D way!)  The new DOS
  198.  
  199. also performed an automatic "I" com-
  200.  
  201. mand every time it detected a disk
  202.  
  203. with a different ID, so that the user
  204.  
  205. didn't have to unless he had two or
  206.  
  207. more disks with the same ID (the two
  208.  
  209. characters that appear after the disk
  210.  
  211. name in a directory listing).  It also
  212.  
  213. used a slightly different disk format
  214.  
  215. from the 2040's and 3040's, so that a
  216.  
  217. disk made on a 2040 would have to have
  218.  
  219. its files copied to a 4040 disk drive.
  220.  
  221.  
  222.  
  223.    Later, Commodore came out with the
  224.  
  225. Commodore Business Machine (CBM) 8032.
  226.  
  227. It had BASIC V4, 32K of RAM, a 12-inch
  228.  
  229. 80-column monitor (the old machines
  230.  
  231. had smaller 40-column screens), and a
  232.  
  233. more business-like keyboard.  Indeed,
  234.  
  235. it was a business machine!
  236.  
  237.  
  238.  
  239.    A business machine needs a business
  240.  
  241. disk drive.  So Commodore presented
  242.  
  243. the 8050 disk drive.  It used a double
  244.  
  245. density format that got over twice as
  246.  
  247. much data on each disk.  It also could
  248.  
  249. tell if a disk drive door had been o-
  250.  
  251. pened, and automatically did an "I"
  252.  
  253. command when the door was shut again,
  254.  
  255. so that the user NEVER needed to do
  256.  
  257. that, no matter WHAT his disk ID's.
  258.  
  259.  
  260.  
  261.    Later came the 8052 double-sided
  262.  
  263. drive, and the D9060 and D9090 hard
  264.  
  265. disk units that could store 2, 5, and
  266.  
  267. 7.5 Megabytes (1 Meg = 1024 K!) of
  268.  
  269. data!
  270.